package com.kinglone.quartzTest;

import org.springframework.stereotype.Component;

@Component("anotherBean")  
public class AnotherBean {  
       
    public void printAnotherMessage(){  
        System.out.println("我的 AnotherBean. I am called by Quartz jobBean using CronTriggerFactoryBean");  
    }  
       
}  
